﻿namespace WMS6.Web.TransportMgtServiceRef
{
    using System;
    using System.CodeDom.Compiler;
    using System.ComponentModel;
    using System.Diagnostics;
    using System.Runtime.CompilerServices;
    using System.Runtime.Serialization;

    [Serializable, DebuggerStepThrough, GeneratedCode("System.Runtime.Serialization", "3.0.0.0"), DataContract(Name="BolDetailInfo", Namespace="http://schemas.datacontract.org/2004/07/WMS6.DataEntity")]
    public class BolDetailInfo : IExtensibleDataObject, INotifyPropertyChanged
    {
        [OptionalField]
        private string ActualEquipmentField;
        [OptionalField]
        private string ActualEquipmentTypeField;
        [OptionalField]
        private string BolIDField;
        [OptionalField]
        private string CarrierField;
        [OptionalField]
        private string CreatedByField;
        [OptionalField]
        private DateTime CreatedDateField;
        [OptionalField]
        private decimal CubeField;
        [OptionalField]
        private string DeliveryIDField;
        [OptionalField]
        private int DeliveryLineIDField;
        [OptionalField]
        private string DispatchedByField;
        [OptionalField]
        private string DispatchIDField;
        [OptionalField]
        private string DriverField;
        [NonSerialized]
        private ExtensionDataObject extensionDataField;
        [OptionalField]
        private decimal GrossWeightField;
        [OptionalField]
        private string IsActiveField;
        [OptionalField]
        private int LineIDField;
        [OptionalField]
        private decimal NetWeightField;
        [OptionalField]
        private string OwnerIDField;
        [OptionalField]
        private string PackIDField;
        [OptionalField]
        private string PlanEquipmentField;
        [OptionalField]
        private string PlanEquipmentTypeField;
        [OptionalField]
        private decimal QtyField;
        [OptionalField]
        private string RemarkField;
        [OptionalField]
        private int RowIDField;
        [OptionalField]
        private string SkuIDField;
        [OptionalField]
        private string StatusField;
        [OptionalField]
        private string TransportModeField;
        [OptionalField]
        private string TransportTypeField;
        [OptionalField]
        private byte[] TsField;
        [OptionalField]
        private string Udf10Field;
        [OptionalField]
        private string Udf1Field;
        [OptionalField]
        private string Udf2Field;
        [OptionalField]
        private string Udf3Field;
        [OptionalField]
        private string Udf4Field;
        [OptionalField]
        private string Udf5Field;
        [OptionalField]
        private string Udf6Field;
        [OptionalField]
        private string Udf7Field;
        [OptionalField]
        private string Udf8Field;
        [OptionalField]
        private string Udf9Field;
        [OptionalField]
        private string UpdatedByField;
        [OptionalField]
        private DateTime UpdatedDateField;
        [OptionalField]
        private string WhIDField;

        public event PropertyChangedEventHandler PropertyChanged;

        protected void RaisePropertyChanged(string propertyName)
        {
            PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
            if (propertyChanged != null)
            {
                propertyChanged(this, new PropertyChangedEventArgs(propertyName));
            }
        }

        [DataMember]
        public string ActualEquipment
        {
            get
            {
                return this.ActualEquipmentField;
            }
            set
            {
                if (!object.ReferenceEquals(this.ActualEquipmentField, value))
                {
                    this.ActualEquipmentField = value;
                    this.RaisePropertyChanged("ActualEquipment");
                }
            }
        }

        [DataMember]
        public string ActualEquipmentType
        {
            get
            {
                return this.ActualEquipmentTypeField;
            }
            set
            {
                if (!object.ReferenceEquals(this.ActualEquipmentTypeField, value))
                {
                    this.ActualEquipmentTypeField = value;
                    this.RaisePropertyChanged("ActualEquipmentType");
                }
            }
        }

        [DataMember]
        public string BolID
        {
            get
            {
                return this.BolIDField;
            }
            set
            {
                if (!object.ReferenceEquals(this.BolIDField, value))
                {
                    this.BolIDField = value;
                    this.RaisePropertyChanged("BolID");
                }
            }
        }

        [DataMember]
        public string Carrier
        {
            get
            {
                return this.CarrierField;
            }
            set
            {
                if (!object.ReferenceEquals(this.CarrierField, value))
                {
                    this.CarrierField = value;
                    this.RaisePropertyChanged("Carrier");
                }
            }
        }

        [DataMember]
        public string CreatedBy
        {
            get
            {
                return this.CreatedByField;
            }
            set
            {
                if (!object.ReferenceEquals(this.CreatedByField, value))
                {
                    this.CreatedByField = value;
                    this.RaisePropertyChanged("CreatedBy");
                }
            }
        }

        [DataMember]
        public DateTime CreatedDate
        {
            get
            {
                return this.CreatedDateField;
            }
            set
            {
                if (!this.CreatedDateField.Equals(value))
                {
                    this.CreatedDateField = value;
                    this.RaisePropertyChanged("CreatedDate");
                }
            }
        }

        [DataMember]
        public decimal Cube
        {
            get
            {
                return this.CubeField;
            }
            set
            {
                if (!this.CubeField.Equals(value))
                {
                    this.CubeField = value;
                    this.RaisePropertyChanged("Cube");
                }
            }
        }

        [DataMember]
        public string DeliveryID
        {
            get
            {
                return this.DeliveryIDField;
            }
            set
            {
                if (!object.ReferenceEquals(this.DeliveryIDField, value))
                {
                    this.DeliveryIDField = value;
                    this.RaisePropertyChanged("DeliveryID");
                }
            }
        }

        [DataMember]
        public int DeliveryLineID
        {
            get
            {
                return this.DeliveryLineIDField;
            }
            set
            {
                if (!this.DeliveryLineIDField.Equals(value))
                {
                    this.DeliveryLineIDField = value;
                    this.RaisePropertyChanged("DeliveryLineID");
                }
            }
        }

        [DataMember]
        public string DispatchedBy
        {
            get
            {
                return this.DispatchedByField;
            }
            set
            {
                if (!object.ReferenceEquals(this.DispatchedByField, value))
                {
                    this.DispatchedByField = value;
                    this.RaisePropertyChanged("DispatchedBy");
                }
            }
        }

        [DataMember]
        public string DispatchID
        {
            get
            {
                return this.DispatchIDField;
            }
            set
            {
                if (!object.ReferenceEquals(this.DispatchIDField, value))
                {
                    this.DispatchIDField = value;
                    this.RaisePropertyChanged("DispatchID");
                }
            }
        }

        [DataMember]
        public string Driver
        {
            get
            {
                return this.DriverField;
            }
            set
            {
                if (!object.ReferenceEquals(this.DriverField, value))
                {
                    this.DriverField = value;
                    this.RaisePropertyChanged("Driver");
                }
            }
        }

        [Browsable(false)]
        public ExtensionDataObject ExtensionData
        {
            get
            {
                return this.extensionDataField;
            }
            set
            {
                this.extensionDataField = value;
            }
        }

        [DataMember]
        public decimal GrossWeight
        {
            get
            {
                return this.GrossWeightField;
            }
            set
            {
                if (!this.GrossWeightField.Equals(value))
                {
                    this.GrossWeightField = value;
                    this.RaisePropertyChanged("GrossWeight");
                }
            }
        }

        [DataMember]
        public string IsActive
        {
            get
            {
                return this.IsActiveField;
            }
            set
            {
                if (!object.ReferenceEquals(this.IsActiveField, value))
                {
                    this.IsActiveField = value;
                    this.RaisePropertyChanged("IsActive");
                }
            }
        }

        [DataMember]
        public int LineID
        {
            get
            {
                return this.LineIDField;
            }
            set
            {
                if (!this.LineIDField.Equals(value))
                {
                    this.LineIDField = value;
                    this.RaisePropertyChanged("LineID");
                }
            }
        }

        [DataMember]
        public decimal NetWeight
        {
            get
            {
                return this.NetWeightField;
            }
            set
            {
                if (!this.NetWeightField.Equals(value))
                {
                    this.NetWeightField = value;
                    this.RaisePropertyChanged("NetWeight");
                }
            }
        }

        [DataMember]
        public string OwnerID
        {
            get
            {
                return this.OwnerIDField;
            }
            set
            {
                if (!object.ReferenceEquals(this.OwnerIDField, value))
                {
                    this.OwnerIDField = value;
                    this.RaisePropertyChanged("OwnerID");
                }
            }
        }

        [DataMember]
        public string PackID
        {
            get
            {
                return this.PackIDField;
            }
            set
            {
                if (!object.ReferenceEquals(this.PackIDField, value))
                {
                    this.PackIDField = value;
                    this.RaisePropertyChanged("PackID");
                }
            }
        }

        [DataMember]
        public string PlanEquipment
        {
            get
            {
                return this.PlanEquipmentField;
            }
            set
            {
                if (!object.ReferenceEquals(this.PlanEquipmentField, value))
                {
                    this.PlanEquipmentField = value;
                    this.RaisePropertyChanged("PlanEquipment");
                }
            }
        }

        [DataMember]
        public string PlanEquipmentType
        {
            get
            {
                return this.PlanEquipmentTypeField;
            }
            set
            {
                if (!object.ReferenceEquals(this.PlanEquipmentTypeField, value))
                {
                    this.PlanEquipmentTypeField = value;
                    this.RaisePropertyChanged("PlanEquipmentType");
                }
            }
        }

        [DataMember]
        public decimal Qty
        {
            get
            {
                return this.QtyField;
            }
            set
            {
                if (!this.QtyField.Equals(value))
                {
                    this.QtyField = value;
                    this.RaisePropertyChanged("Qty");
                }
            }
        }

        [DataMember]
        public string Remark
        {
            get
            {
                return this.RemarkField;
            }
            set
            {
                if (!object.ReferenceEquals(this.RemarkField, value))
                {
                    this.RemarkField = value;
                    this.RaisePropertyChanged("Remark");
                }
            }
        }

        [DataMember]
        public int RowID
        {
            get
            {
                return this.RowIDField;
            }
            set
            {
                if (!this.RowIDField.Equals(value))
                {
                    this.RowIDField = value;
                    this.RaisePropertyChanged("RowID");
                }
            }
        }

        [DataMember]
        public string SkuID
        {
            get
            {
                return this.SkuIDField;
            }
            set
            {
                if (!object.ReferenceEquals(this.SkuIDField, value))
                {
                    this.SkuIDField = value;
                    this.RaisePropertyChanged("SkuID");
                }
            }
        }

        [DataMember]
        public string Status
        {
            get
            {
                return this.StatusField;
            }
            set
            {
                if (!object.ReferenceEquals(this.StatusField, value))
                {
                    this.StatusField = value;
                    this.RaisePropertyChanged("Status");
                }
            }
        }

        [DataMember]
        public string TransportMode
        {
            get
            {
                return this.TransportModeField;
            }
            set
            {
                if (!object.ReferenceEquals(this.TransportModeField, value))
                {
                    this.TransportModeField = value;
                    this.RaisePropertyChanged("TransportMode");
                }
            }
        }

        [DataMember]
        public string TransportType
        {
            get
            {
                return this.TransportTypeField;
            }
            set
            {
                if (!object.ReferenceEquals(this.TransportTypeField, value))
                {
                    this.TransportTypeField = value;
                    this.RaisePropertyChanged("TransportType");
                }
            }
        }

        [DataMember]
        public byte[] Ts
        {
            get
            {
                return this.TsField;
            }
            set
            {
                if (!object.ReferenceEquals(this.TsField, value))
                {
                    this.TsField = value;
                    this.RaisePropertyChanged("Ts");
                }
            }
        }

        [DataMember]
        public string Udf1
        {
            get
            {
                return this.Udf1Field;
            }
            set
            {
                if (!object.ReferenceEquals(this.Udf1Field, value))
                {
                    this.Udf1Field = value;
                    this.RaisePropertyChanged("Udf1");
                }
            }
        }

        [DataMember]
        public string Udf10
        {
            get
            {
                return this.Udf10Field;
            }
            set
            {
                if (!object.ReferenceEquals(this.Udf10Field, value))
                {
                    this.Udf10Field = value;
                    this.RaisePropertyChanged("Udf10");
                }
            }
        }

        [DataMember]
        public string Udf2
        {
            get
            {
                return this.Udf2Field;
            }
            set
            {
                if (!object.ReferenceEquals(this.Udf2Field, value))
                {
                    this.Udf2Field = value;
                    this.RaisePropertyChanged("Udf2");
                }
            }
        }

        [DataMember]
        public string Udf3
        {
            get
            {
                return this.Udf3Field;
            }
            set
            {
                if (!object.ReferenceEquals(this.Udf3Field, value))
                {
                    this.Udf3Field = value;
                    this.RaisePropertyChanged("Udf3");
                }
            }
        }

        [DataMember]
        public string Udf4
        {
            get
            {
                return this.Udf4Field;
            }
            set
            {
                if (!object.ReferenceEquals(this.Udf4Field, value))
                {
                    this.Udf4Field = value;
                    this.RaisePropertyChanged("Udf4");
                }
            }
        }

        [DataMember]
        public string Udf5
        {
            get
            {
                return this.Udf5Field;
            }
            set
            {
                if (!object.ReferenceEquals(this.Udf5Field, value))
                {
                    this.Udf5Field = value;
                    this.RaisePropertyChanged("Udf5");
                }
            }
        }

        [DataMember]
        public string Udf6
        {
            get
            {
                return this.Udf6Field;
            }
            set
            {
                if (!object.ReferenceEquals(this.Udf6Field, value))
                {
                    this.Udf6Field = value;
                    this.RaisePropertyChanged("Udf6");
                }
            }
        }

        [DataMember]
        public string Udf7
        {
            get
            {
                return this.Udf7Field;
            }
            set
            {
                if (!object.ReferenceEquals(this.Udf7Field, value))
                {
                    this.Udf7Field = value;
                    this.RaisePropertyChanged("Udf7");
                }
            }
        }

        [DataMember]
        public string Udf8
        {
            get
            {
                return this.Udf8Field;
            }
            set
            {
                if (!object.ReferenceEquals(this.Udf8Field, value))
                {
                    this.Udf8Field = value;
                    this.RaisePropertyChanged("Udf8");
                }
            }
        }

        [DataMember]
        public string Udf9
        {
            get
            {
                return this.Udf9Field;
            }
            set
            {
                if (!object.ReferenceEquals(this.Udf9Field, value))
                {
                    this.Udf9Field = value;
                    this.RaisePropertyChanged("Udf9");
                }
            }
        }

        [DataMember]
        public string UpdatedBy
        {
            get
            {
                return this.UpdatedByField;
            }
            set
            {
                if (!object.ReferenceEquals(this.UpdatedByField, value))
                {
                    this.UpdatedByField = value;
                    this.RaisePropertyChanged("UpdatedBy");
                }
            }
        }

        [DataMember]
        public DateTime UpdatedDate
        {
            get
            {
                return this.UpdatedDateField;
            }
            set
            {
                if (!this.UpdatedDateField.Equals(value))
                {
                    this.UpdatedDateField = value;
                    this.RaisePropertyChanged("UpdatedDate");
                }
            }
        }

        [DataMember]
        public string WhID
        {
            get
            {
                return this.WhIDField;
            }
            set
            {
                if (!object.ReferenceEquals(this.WhIDField, value))
                {
                    this.WhIDField = value;
                    this.RaisePropertyChanged("WhID");
                }
            }
        }
    }
}

